import { computed } from 'vue';
import { useAppStore } from '@/store/modules/app';

export function useHeaderSetting() {
  const appStore = useAppStore();

  const getLogoSrc = computed(() => appStore.getProjectConfig.logo.img.logo);
  const getLogoText = computed(() => appStore.getProjectConfig.logo.title.text);

  return {
    getLogoSrc,
    getLogoText
  };
}
